// To parse this JSON data, do
//
//     final searchGaoListModel = searchGaoListModelFromJson(jsonString);

import 'dart:convert';

List<SearchGaoListModel> searchGaoListModelFromJson(String str) => List<SearchGaoListModel>.from(json.decode(str).map((x) => SearchGaoListModel.fromJson(x)));

String searchGaoListModelToJson(List<SearchGaoListModel> data) => json.encode(List<dynamic>.from(data.map((x) => x.toJson())));

class SearchGaoListModel {
  String caption;
  String logo;
  List<String> images;
  Geo geo;
  String address;

  SearchGaoListModel({
    required this.caption,
    required this.logo,
    required this.images,
    required this.geo,
    required this.address,
  });

  factory SearchGaoListModel.fromJson(Map<String, dynamic> json) => SearchGaoListModel(
    caption: json["caption"],
    logo: json["logo"],
    images: List<String>.from(json["images"].map((x) => x)),
    geo: Geo.fromJson(json["geo"]),
    address: json["address"],
  );

  Map<String, dynamic> toJson() => {
    "caption": caption,
    "logo": logo,
    "images": List<dynamic>.from(images.map((x) => x)),
    "geo": geo.toJson(),
    "address": address,
  };
}

class Geo {
  String lng;
  String lat;

  Geo({
    required this.lng,
    required this.lat,
  });

  factory Geo.fromJson(Map<String, dynamic> json) => Geo(
    lng: json["lng"],
    lat: json["lat"],
  );

  Map<String, dynamic> toJson() => {
    "lng": lng,
    "lat": lat,
  };
}
